home *** CD-ROM | disk | FTP | other *** search
/ Aminet 12 / Aminet 12 (1996)(GTI - Schatztruhe)[!][Jun 1996].iso / Aminet / biz / dbase / GCBVideo311.lha / GCBVideo / Install_GCBVideo < prev    next >
Text File  |  1996-01-31  |  18KB  |  807 lines

  1. ;-------------------------------------------------------------------
  2. ; $VER: Install-GCB-Produkte V2.00 Dienstag 24.01.95
  3. ;       Gabriele Christine Bauer
  4. ;       St.-Augustinus-Str 74
  5. ;       81825 München
  6. ;       Deutschland
  7. ;-------------------------------------------------------------------
  8. ; Globalvariablen
  9. ;-------------------------------------------------------------------
  10. (set produkt (cat "GCBVideo"))
  11. (set version (cat "V3.11"))
  12. (delopts AskUser)
  13. (set @language "deutsch")
  14. (set false 0)
  15. (set true 1)
  16. ;-------------------------------------------------------------------
  17. ; Begrüßung
  18. ;-------------------------------------------------------------------
  19. (set gruss (cat "Willkommen bei der Installation von "produkt" "version))
  20. (welcome gruss)
  21. ;-------------------------------------------------------------------
  22. ; Copyright
  23. ;-------------------------------------------------------------------
  24. (set copyright
  25.   (cat "\n\n" 
  26.        produkt"-Installationsskript."
  27.        "\n"
  28.          "Diese Installationsroutine installiert "produkt" auf Ihrem Amiga."
  29.          "\n(Ab Betriebssystem Version 2.04 lauffähig)"
  30.          "\n"
  31.          "Lesen Sie bitte die Dokumentation für "
  32.        "weitere Informationen über die Weitergeabe. "
  33.        "\n\n"
  34.        produkt" "version" © 1995 Gabriele Christine Bauer "
  35.        "\n"
  36.        "Alle Rechte vorbehalten."
  37.   )
  38. )
  39. (message copyright)
  40. (complete 10)
  41. ;-------------------------------------------------------------------
  42. ; Abfrage auf vorhandene Installation
  43. ;-------------------------------------------------------------------
  44. (set gcbvorhanden false)
  45. (set produktvorhanden false)
  46. (if (= (exists "S:GCBProdukt.exists") true)
  47.   (
  48.     (set gcbvorhanden true)
  49.     (if (= (exists (cat "GCBProdukte:"produkt)) true)
  50.       (
  51.     (set produktvorhanden true)
  52.       )
  53.     )
  54.     (if ( and (= produktvorhanden false) (= (exists (cat "SYS:WBStartup/"produkt)) true))
  55.       (
  56.     (set produktvorhanden true)
  57.       )
  58.     )
  59.   )
  60. )
  61. (complete 20)
  62. ;-------------------------------------------------------------------
  63. ; Abfrage auf Installationsart
  64. ;-------------------------------------------------------------------
  65. (set frage
  66.   (cat "Bitte wählen Sie eine der unten stehenden Möglichkeiten aus:"
  67.   )
  68. )
  69. (if (= produktvorhanden false)
  70.   (
  71.     (set inst
  72.       (cat "Installation von "produkt" "version
  73.       )
  74.     )
  75.   )
  76. )
  77. (if (= produktvorhanden true)
  78.   (
  79.     (set inst
  80.       (cat "Update auf "produkt" "version
  81.       )
  82.     )
  83.   )
  84. )
  85. (set remo
  86.   (cat produkt" von Festplatte entfernen"
  87.   )
  88. )
  89. (set vers
  90.   (cat "Systeminformationen abrufen"
  91.   )
  92. )
  93. (set wahl
  94.   (askchoice
  95.     (prompt frage)
  96.     (choices inst remo vers)
  97.     (help @askchoise-help)
  98.   )
  99. )
  100. (complete 30)
  101. ;-------------------------------------------------------------------
  102. ; Abfrage auf Remove
  103. ;-------------------------------------------------------------------
  104. (set abbruch
  105.   (cat "\n\n" 
  106.        "Sie können "produkt" nicht von der Festplatte entfernen, "
  107.        "da Sie es noch nicht installiert haben."
  108.   )
  109. )
  110. (if (and (= produktvorhanden false) (= wahl 1))
  111.   (
  112.     (message abbruch)
  113.     (exit (quiet))
  114.   )
  115. )
  116. (complete 40)
  117. ;-------------------------------------------------------------------
  118. ; Sichern der pers. Daten
  119. ;-------------------------------------------------------------------
  120. (if (and (= wahl 0) (= produktvorhanden true))
  121.   (
  122.     (run ("makedir >nil: RAM:GCBDAT"))
  123.     (set text
  124.       (cat "\n\nDa Sie schon eine Version von "produkt" installiert haben, "
  125.        "werden zuerst Ihre persönlichen Daten zwischengespeichert."
  126.       )
  127.     )
  128.     (message text)
  129.     (set text
  130.       (cat "Sichere persönliche Daten nach RAM:GCBDAT"
  131.       )
  132.     )
  133.     (if (= produkt (cat "GCBPlaner"))
  134.       (
  135.     (if (= (exists "GCBProdukte:GCBPlaner.key") true)
  136.       (
  137.         (copyfiles
  138.           (prompt text)
  139.           (source "GCBProdukte:GCBPlaner.key")
  140.           (dest "RAM:GCBDAT/")
  141.         )
  142.       )
  143.     )
  144.     (if (= (exists "GCBProdukte:GCBPlaner.Dat") true)
  145.       (
  146.         (copyfiles
  147.           (prompt text)
  148.           (source "GCBProdukte:GCBPlaner.Dat")
  149.           (dest "RAM:GCBDAT/")
  150.         )
  151.       )
  152.     )
  153.     (if (= (exists "GCBProdukte:GCBPlaner.Konfig") true)
  154.       (
  155.         (copyfiles
  156.           (prompt text)
  157.           (source "GCBProdukte:GCBPlaner.Konfig")
  158.           (dest "RAM:GCBDAT/")
  159.         )
  160.       )
  161.     )
  162.     (if (= (exists "GCBProdukte:GCBPlaner.History") true)
  163.       (
  164.         (copyfiles
  165.           (prompt text)
  166.           (source "GCBProdukte:GCBPlaner.History")
  167.           (dest "RAM:GCBDAT/")
  168.         )
  169.       )
  170.     )
  171.     (if (= (exists "SYS:WBStartup/GCBPlaner.info") true)
  172.       (
  173.         (copyfiles
  174.           (prompt text)
  175.           (source "SYS:WBStartup/GCBPlaner.info")
  176.           (dest "RAM:GCBDAT/")
  177.         )
  178.       )
  179.     )
  180.       )
  181.     )
  182.     (if (= produkt (cat "GCBVideo"))
  183.       (
  184.     (if (= (exists "GCBProdukte:GCBVideo.Key") true)
  185.       (
  186.         (copyfiles
  187.           (prompt text)
  188.           (source "GCBProdukte:GCBVideo.Key")
  189.           (dest "RAM:GCBDAT/")
  190.         )
  191.       )
  192.     )
  193.     (if (= (exists "GCBProdukte:GCBVideo.Konfig") true)
  194.       (
  195.         (copyfiles
  196.           (prompt text)
  197.           (source "GCBProdukte:GCBVideo.Konfig")
  198.           (dest "RAM:GCBDAT/")
  199.         )
  200.       )
  201.     )
  202.     (if (= (exists "GCBProdukte:GCBVideo.Archiv") true)
  203.       (
  204.         (copyfiles
  205.           (prompt text)
  206.           (source "GCBProdukte:GCBVideo.Archiv")
  207.           (dest "RAM:GCBDAT/")
  208.         )
  209.       )
  210.     )
  211.     (if (= (exists "GCBProdukte:GCBVideo.ArchivCam") TRUE)
  212.       (
  213.         (copyfiles
  214.           (prompt text)
  215.           (source "GCBProdukte:GCBVideo.ArchivCam")
  216.           (dest "RAM:GCBDAT/")
  217.         )
  218.       )
  219.     )
  220.     (if (= (exists "GCBProdukte:GCBVideo.Aufnahmen") true)
  221.       (
  222.         (copyfiles
  223.           (prompt text)
  224.           (source "GCBProdukte:GCBVideo.Aufnahmen")
  225.           (dest "RAM:GCBDAT/")
  226.         )
  227.       )
  228.     )
  229.     (if (= (exists "GCBProdukte:GCBVideo.Frei") true)
  230.       (
  231.         (copyfiles
  232.           (prompt text)
  233.           (source "GCBProdukte:GCBVideo.Frei")
  234.           (dest "RAM:GCBDAT/")
  235.         )
  236.       )
  237.     )
  238.     (if (= (exists "GCBProdukte:GCBVideo.FreiCam") TRUE)
  239.       (
  240.         (copyfiles
  241.           (prompt text)
  242.           (source "GCBProdukte:GCBVideo.FreiCam")
  243.           (dest "RAM:GCBDAT/")
  244.         )
  245.       )
  246.     )
  247.     (if (= (exists "GCBProdukte:GCBVideo.Kategorien") true)
  248.       (
  249.         (copyfiles
  250.           (prompt text)
  251.           (source "GCBProdukte:GCBVideo.Kategorien")
  252.           (dest "RAM:GCBDAT/")
  253.         )
  254.       )
  255.     )
  256.     (if (= (exists "GCBProdukte:GCBVideo.Genres") true)
  257.       (
  258.         (copyfiles
  259.           (prompt text)
  260.           (source "GCBProdukte:GCBVideo.Genres")
  261.           (dest "RAM:GCBDAT/")
  262.         )
  263.       )
  264.     )
  265.     (if (= (exists "GCBProdukte:GCBVideo.Programme") true)
  266.       (
  267.         (copyfiles
  268.           (prompt text)
  269.           (source "GCBProdukte:GCBVideo.Programme")
  270.           (dest "RAM:GCBDAT/")
  271.         )
  272.       )
  273.     )
  274.     (if (= (exists "GCBProdukte:GCBVideo.info") true)
  275.       (
  276.         (copyfiles
  277.           (prompt text)
  278.           (source "GCBProdukte:GCBVideo.info")
  279.           (dest "RAM:GCBDAT/")
  280.         )
  281.       )
  282.     )
  283.       )
  284.     )
  285.     (if (= produkt (cat "GCBAdresse"))
  286.       (
  287.     (if (= (exists "GCBProdukte:GCBAdresse.Key") true)
  288.       (
  289.         (copyfiles
  290.           (prompt text)
  291.           (source "GCBProdukte:GCBAdresse.Key")
  292.           (dest "RAM:GCBDAT/")
  293.         )
  294.       )
  295.     )
  296.     (if (= (exists "GCBProdukte:GCBAdresse.Orte") true)
  297.       (
  298.         (copyfiles
  299.           (prompt text)
  300.           (source "GCBProdukte:GCBAdresse.Orte")
  301.           (dest "RAM:GCBDAT/")
  302.         )
  303.       )
  304.     )
  305.     (if (= (exists "GCBProdukte:GCBAdresse.Bank") true)
  306.       (
  307.         (copyfiles
  308.           (prompt text)
  309.           (source "GCBProdukte:GCBAdresse.Bank")
  310.           (dest "RAM:GCBDAT/")
  311.         )
  312.       )
  313.     )
  314.     (if (= (exists "GCBProdukte:GCBAdresse.Konfig") true)
  315.       (
  316.         (copyfiles
  317.           (prompt text)
  318.           (source "GCBProdukte:GCBAdresse.Konfig")
  319.           (dest "RAM:GCBDAT/")
  320.         )
  321.       )
  322.     )
  323.     (if (= (exists "GCBProdukte:GCBAdresse.Adressen") true)
  324.       (
  325.         (copyfiles
  326.           (prompt text)
  327.           (source "GCBProdukte:GCBAdresse.Adressen")
  328.           (dest "RAM:GCBDAT/")
  329.         )
  330.       )
  331.     )
  332.     (if (= (exists "GCBProdukte:GCBAdresse.GrpSchalt") true)
  333.       (
  334.         (copyfiles
  335.           (prompt text)
  336.           (source "GCBProdukte:GCBAdresse.GrpSchalt")
  337.           (dest "RAM:GCBDAT/")
  338.         )
  339.       )
  340.     )
  341.     (if (= (exists "GCBProdukte:GCBAdresse.Gruppen") true)
  342.       (
  343.         (copyfiles
  344.           (prompt text)
  345.           (source "GCBProdukte:GCBAdresse.Gruppen")
  346.           (dest "RAM:GCBDAT/")
  347.         )
  348.       )
  349.     )
  350.     (if (= (exists "GCBProdukte:GCBAdresse.info") true)
  351.       (
  352.         (copyfiles
  353.           (prompt text)
  354.           (source "GCBProdukte:GCBAdresse.info")
  355.           (dest "RAM:GCBDAT/")
  356.         )
  357.       )
  358.     )
  359.       )
  360.     )
  361.     (if (= produkt (cat "GCBNotiz"))
  362.       (
  363.     (if (= (exists "GCBProdukte:GCBNotiz.Key") true)
  364.       (
  365.         (copyfiles
  366.           (prompt text)
  367.           (source "GCBProdukte:GCBNotiz.Key")
  368.           (dest "RAM:GCBDAT/")
  369.         )
  370.       )
  371.     )
  372.     (if (= (exists "GCBProdukte:GCBNotiz.Konfig") true)
  373.       (
  374.         (copyfiles
  375.           (prompt text)
  376.           (source "GCBProdukte:GCBNotiz.Konfig")
  377.           (dest "RAM:GCBDAT/")
  378.         )
  379.       )
  380.     )
  381.     (if (= (exists "GCBProdukte:GCBNotiz.Notizen") true)
  382.       (
  383.         (copyfiles
  384.           (prompt text)
  385.           (source "GCBProdukte:GCBNotiz.Notizen")
  386.           (dest "RAM:GCBDAT/")
  387.         )
  388.       )
  389.     )
  390.     (if (= (exists "GCBProdukte:GCBNotiz.info") true)
  391.       (
  392.         (copyfiles
  393.           (prompt text)
  394.           (source "GCBProdukte:GCBNotiz.info")
  395.           (dest "RAM:GCBDAT/")
  396.         )
  397.       )
  398.     )
  399.       )
  400.     )
  401.     (if (= produkt (cat "GCBDruck"))
  402.       (
  403.     (if (= (exists "GCBProdukte:GCBDruck.Key") true)
  404.       (
  405.         (copyfiles
  406.           (prompt text)
  407.           (source "GCBProdukte:GCBDruck.Key")
  408.           (dest "RAM:GCBDAT/")
  409.         )
  410.       )
  411.     )
  412.     (if (= (exists "GCBProdukte:GCBDruck.Konfig") true)
  413.       (
  414.         (copyfiles
  415.           (prompt text)
  416.           (source "GCBProdukte:GCBDruck.Konfig")
  417.           (dest "RAM:GCBDAT/")
  418.         )
  419.       )
  420.     )
  421.     (if (= (exists "GCBProdukte:GCBDruck.info") true)
  422.       (
  423.         (copyfiles
  424.           (prompt text)
  425.           (source "GCBProdukte:GCBDruck.info")
  426.           (dest "RAM:GCBDAT/")
  427.         )
  428.       )
  429.     )
  430.       )
  431.     )
  432.   )
  433. )
  434. (complete 50)
  435. ;-------------------------------------------------------------------
  436. ; Entferne bisherige Installation bei (wahl < 2)
  437. ;-------------------------------------------------------------------
  438. (if (and (< wahl 2) (= produktvorhanden true))
  439.   (
  440.     (set text
  441.       (cat "\n\nAuf Ihrer Festplatte wird nun "produkt" entfernt"
  442.       )
  443.     )
  444.     (message text)
  445.     (run
  446.       (cat "delete >nil: SYS:WBStartUp/"produkt"#? all"
  447.       )
  448.     )
  449.     (run
  450.       (cat "delete >nil: GCBProdukte:"produkt"#? all"
  451.       )
  452.     )
  453.     (set produktvorhanden false)
  454.   )
  455. )
  456. (complete 70)
  457. ;-------------------------------------------------------------------
  458. ; Entferne Assign & s:gcbprodukt.exists
  459. ;-------------------------------------------------------------------
  460. (set sonstgcbprodukt false)
  461. (if (and (< wahl 2) (= gcbvorhanden true))
  462.   (
  463.     (if (= (exists "SYS:WBStartup/GCBPlaner") true)
  464.       (
  465.     (set sonstgcbprodukt true)
  466.       )
  467.     )
  468.     (if (= (exists "GCBProdukte:GCBVideo") true)
  469.       (
  470.     (set sonstgcbprodukt true)
  471.       )
  472.     )
  473.     (if (= (exists "GCBProdukte:GCBAdresse") true)
  474.       (
  475.     (set sonstgcbprodukt true)
  476.       )
  477.     )
  478.     (if (= (exists "GCBProdukte:GCBNotiz") true)
  479.       (
  480.     (set sonstgcbprodukt true)
  481.       )
  482.     )
  483.     (if (= (exists "GCBProdukte:GCBDruck") true)
  484.       (
  485.     (set sonstgcbprodukt true)
  486.       )
  487.     )
  488.     (if (= sonstgcbprodukt false)
  489.       (
  490.     (run ("execute gcbwo"))
  491.     (set srcdir (getenv "GCBTemp"))
  492.     (delete "ENV:GCBTemp")
  493.     (set text
  494.       (cat "Da Sie keine weiteren GCB-Produkte installiert haben, "
  495.            "wird die Schublade "srcdir" auf Ihrer Festplatte gelöscht und "
  496.            "der Assign in der Datei USER-Startup entfernt."
  497.       )
  498.     )
  499.     (startup "GCB-Produkte"
  500.       (prompt text)
  501.       (help @startup-help)
  502.     )
  503.     (run "assign GCBProdukte: remove")
  504.     (run
  505.       (cat "delete >nil: \""srcdir"\" all"
  506.       )
  507.     )
  508.     (delete "S:GCBProdukt.exists")
  509.     (set gcbvorhanden false)
  510.       )
  511.     )
  512.   )
  513. )
  514. (if (= wahl 1)
  515.   (
  516.     (exit (quiet))
  517.   )
  518. )
  519. (complete 80)
  520. ;-------------------------------------------------------------------
  521. ; Installieren neue Version (wahl = 0)
  522. ;-------------------------------------------------------------------
  523. (if (= wahl 0)
  524.   (
  525.     (if (= (exists (cat "WBStartUp/"produkt)) true)
  526.       (
  527.     (set text
  528.       (cat "\n\nKopiere das Startprogramm von "produkt" in die Schublade "
  529.            "SYS:WBStartUp. Beim nächsten Rechnerstart wird das Startprogramm "
  530.            " aktiv."
  531.       )
  532.     )
  533.     (message text)
  534.     (copyfiles
  535.       (prompt "Installiere Startprogramm")
  536.       (source "WBStartUp/")
  537.       (pattern "#?")
  538.       (dest "SYS:WBStartUp")
  539.     )
  540.       )
  541.     )
  542.     (if (= gcbvorhanden false)
  543.       (
  544.     (set GCBWahl
  545.       (askdir
  546.         (prompt
  547.           (cat "Wohin soll "produkt" installiert werden ?\nEin Verzeichnis"
  548.            " GCBProdukte wird erzeugt."
  549.           )
  550.         )
  551.         (help @askdir-help)
  552.         (default "SYS:")
  553.       )
  554.     )
  555.     (set GCBDir (tackon GCBWahl "GCBProdukte"))
  556.     (makedir GCBDir)
  557.     (run (cat "assign GCBProdukte: \""GCBDir"\""))
  558.     (set GCBORGXX GCBDir)
  559.     (set GCBDir "GCBProdukte:")
  560.       )
  561.     )
  562.     (if (= gcbvorhanden true)
  563.       (
  564.     (set GCBDir "GCBProdukte:")
  565.       )
  566.     )
  567.     (set text
  568.       (cat "\nKopiere die Oberfläche von "produkt" und die Dokumentation"
  569.        " in das Verzeichnis "GCBDir
  570.        "\n\n"
  571.        "\nDies ist eine nicht registrierte Public-Domain-Version. Mit dieser "
  572.        "Version sind nur 5 Einträge möglich."
  573.       )
  574.     )
  575.     (if (= (exists (cat "GCBProdukte/"produkt".key")) true)
  576.       (
  577.     (set text
  578.       (cat "\nKopiere die Oberfläche von "produkt" und die Dokumentation"
  579.            " in das Verzeichnis "GCBDir
  580.            "\n\n"
  581.            "\nDies ist eine registrierte Shareware-Verion. Nochmals "
  582.            "vielen Dank für die Unterstützung des Shareware-Konzepts"
  583.       )
  584.     )
  585.     (run
  586.       (cat "delete >nil: RAM:GCBDAT/"produkt".key")
  587.     )
  588.       )
  589.     )  
  590.     (if (= (exists (cat "RAM:GCBDAT/"produkt".key")) true)
  591.       (
  592.     (set text
  593.       (cat "\nKopiere die Oberfläche von "produkt" und die Dokumentation"
  594.            " in das Verzeichnis "GCBDir
  595.            "\n\n"
  596.            "\nDies ist eine registrierte Shareware-Verion. Nochmals "
  597.            "vielen Dank für die Unterstützung des Shareware-Konzepts"
  598.       )
  599.     )
  600.       )
  601.     )  
  602.     (message text)
  603.     (copyfiles
  604.       (prompt (cat "Installiere "produkt))
  605.       (source "GCBProdukte/")
  606.       (pattern "#?")
  607.       (dest GCBDir)
  608.     )
  609.     (set frage
  610.       (cat "Bitte wählen Sie einen geeigneten Monitor-Treiber aus:"
  611.       )
  612.     )
  613.     (set tpal
  614.       (cat "PAL"
  615.       )
  616.     )
  617.     (set tmulti
  618.       (cat "MultiScan-Monitor"
  619.       )
  620.     )
  621.     (set monitor
  622.       (askchoice
  623.     (prompt frage)
  624.     (choices tpal tmulti)
  625.     (help @askchoise-help)
  626.       )
  627.     )
  628.     (if (= produkt "GCBPlaner")
  629.       (set gespfad
  630.     (cat GCBDIR Produkt".bearb"
  631.     )
  632.       )
  633.     )
  634.     (if (NOT (= produkt "GCBPlaner"))
  635.       (set gespfad
  636.     (cat GCBDIR Produkt
  637.     )
  638.       )
  639.     )
  640.     (run
  641.       (cat "delete >nil: "gespfad)
  642.     )
  643.     (if (= monitor 0)
  644.       (
  645.     (run
  646.       (cat "rename >nil: "gespfad".Pal "gespfad)
  647.     )
  648.       )
  649.     )
  650.     (if (= monitor 1)
  651.       (
  652.     (run
  653.       (cat "rename >nil: "gespfad".MultiScan "gespfad)
  654.     )
  655.       )
  656.     )
  657.     (if (= (exists "libs/CanDo.library") true)
  658.       (
  659.     (copylib
  660.         (prompt "Installiere CanDo.library")
  661.         (help @copylib-help)
  662.         (confirm)
  663.         (source "libs/CanDo.library")
  664.         (dest "Libs:")
  665.     )
  666.       )
  667.     )
  668.     (if (= (exists "libs/CanDoGfx.library") true)
  669.       (
  670.     (copylib
  671.         (prompt "Installiere CanDoGfx.library")
  672.         (help @copylib-help)
  673.         (confirm)
  674.         (source "libs/CanDoGfx.library")
  675.         (dest "Libs:")
  676.     )
  677.       )
  678.     )
  679.     (if (= (exists "libs/INOVAMusic.library") true)
  680.       (
  681.     (copylib
  682.         (prompt "Installiere INOVAMusic.library")
  683.         (help @copylib-help)
  684.         (confirm)
  685.         (source "libs/INOVAMusic.library")
  686.         (dest "Libs:")
  687.     )
  688.       )
  689.     )
  690.     (if (= (exists "libs/lowlevel.library") true)
  691.       (
  692.     (copylib
  693.         (prompt "Installiere lowlevel.library")
  694.         (help @copylib-help)
  695.         (confirm)
  696.         (source "libs/lowlevel.library")
  697.         (dest "Libs:")
  698.     )
  699.       )
  700.     )
  701.     (if (= (exists "Fonts/GCBPlaner.font") true)
  702.       (
  703.     (copyfiles
  704.       (prompt "Installiere Fonts")
  705.       (source "Fonts/")
  706.       (pattern "#?")
  707.       (dest "Fonts:")
  708.     )
  709.       )
  710.     )
  711.     (if (= (exists "s/GCBProdukt.exists") true)
  712.       (
  713.     (copyfiles
  714.       (prompt "Installiere GCB-Marker")
  715.       (source "S/")
  716.       (pattern "#?")
  717.       (dest "S:")
  718.     )
  719.       )
  720.     )
  721.     (if (= gcbvorhanden false)
  722.       (
  723.     (copyfiles
  724.       (prompt "Installiere Schubladen-Icon")
  725.       (source "GCBProdukte.info")
  726.       (dest GCBWahl)
  727.     )
  728.       )
  729.     )
  730.     (if (= gcbvorhanden false)
  731.       (
  732.     (set user_script
  733.       (cat "  Assign GCBProdukte: \"" GCBORGXX "\""
  734.       )
  735.     )
  736.     (working omp "Updating S:User-Startup.")
  737.     (startup "GCB-Produkte"
  738.       (prompt
  739.           "Diese Instruktionen müssen an die Datei \"S:User-Startup\" hinzugefügt"
  740.             "werden."
  741.             "Somit ist Ihr System für den Einsatz von "produkt" konfiguriert.\n\n"
  742.             user_script
  743.         )
  744.         (help @startup-help)
  745.         (command user_script)
  746.     )
  747.       )
  748.     )
  749.   )
  750. )
  751. (complete 90)
  752. ;-------------------------------------------------------------------
  753. ; Kopieren Zwischendateien aus RAM: (pattern produkt & wahl = 0)
  754. ;-------------------------------------------------------------------
  755. (if (and (= wahl 0) (= (exists "RAM:GCBDAT/GCBPlaner.info") 1))
  756.   (
  757.     (copyfiles
  758.       (prompt "Kopiere pers. Datenfiles in neue Installation")
  759.       (source "RAM:GCBDAT/GCBPlaner.info")
  760.       (dest "SYS:WBStartup/")
  761.     )
  762.     (run "delete >nil: ram:gcbdat/GCBPlaner.info")
  763.   )
  764. )
  765. (if (and (= wahl 0) (= (exists "RAM:GCBDAT/") 2))
  766.   (
  767.     (copyfiles
  768.       (prompt "Kopiere pers. Datenfiles in neue Installation")
  769.       (source "RAM:GCBDAT/")
  770.       (pattern (cat produkt"#?"))
  771.       (dest GCBDir)
  772.     )
  773.     (run "delete >nil: ram:gcbdat all")
  774.   )
  775. )
  776. (complete 100)
  777. ;-------------------------------------------------------------------
  778. ; Auskunft über System (wahl = 2)
  779. ;-------------------------------------------------------------------
  780. (if (= wahl 2)
  781.    (
  782.      (run "Version >ENV:GCBInfo")
  783.      (set systeminfo
  784.        (cat "Information über Ihr System:\n\n"
  785.         (getenv "GCBInfo")
  786.         "\n"produkt" "version
  787.        )
  788.      )
  789.      (delete "ENV:GCBInfo")
  790.      (message systeminfo)
  791.      (exit (quiet))
  792.    )
  793. )
  794. (complete 100)
  795. ;-------------------------------------------------------------------
  796. ; Endlich am Ende
  797. ;-------------------------------------------------------------------
  798. (set @default-dest GCBDir)
  799. (set text
  800.   (cat "Die Installation von "produkt" "version" ist nun abgeschlossen."
  801.        "\n\nBitte lesen Sie die Dokumentation, zu diesem Produkt, die Sie "
  802.        "in "GCBDir" finden können, bzw. mir der Help-Taste aus dem Programm heraus"
  803.        " aufrufen können.\n\nViel Spaß mit Ihrer neuen Software"
  804.   )
  805. )
  806. (exit text)
  807.